Digital integrated circuits

ABSTRACT

A digital integrated circuit is described in which the internal registers are organized into a number of serial shift paths to facilitate testing. Each path has a number of modes: USER, HOLD, SHIFT and SELF-TEST modes. These modes are controlled by shifting a control function into a control shift register. When the shifting of the control shift register stops, a command is automatically loaded from the control shift register (or another source) into a command register, which controls the serial shift paths. The provision of a separate command register allows a new control function to be shifted into the control shift register while a preceding command is still active in the command register.

This invention relates to digital integrated circuits and is particularly although not exclusively concerned with very large scale integrated (VLSI) circuits containing at least 50,000 logic gates per chip.

In order to facilitate testing, it is known to implement the various data storage circuits on such a chip in the form of shift register latches, connected together in series to form a serial shift path between a pair of external pins on the chip. This allows test data to be shifted serially into the latches, for performing diagnostic tests, and allows test results to be read out serially for analysis. In normal operation, the shifting action of the latches is inhibited, allowing each to perform its intended function as part of the data-flow within the chip.

British Patent Specification No. 2121997 describes an integrated circuit chip containing several shift paths all connected in parallel between a pair of external pins. The chip also includes a control shift register which is connected between these external pins, allowing control commands to be shifted serially into the control register. When a command has been loaded in this way, it controls the shift paths by setting each into a desired mode of operation. For example, one shift path may be put into a shift mode, allowing data to be shifted through it, while the other paths are put into a hold mode in which their contents are frozen.

A problem with this arrangement is that while the control register is being shifted, the rest of the chip must be put into a suspended state to prevent it from attempting to obey any commands until they have been fully loaded into the control register. One object of the present invention is to avoid the necessity for this, so as to allow the chip to continue operating in its currently established mode while the control register is being shifted.

SUMMARY OF THE INVENTION

According to the invention there is provided a digital integrated circuit comprising:

(a) a plurality of shift register latches connected together to form a plurality of serial shift paths in parallel between a serial data input pin and a serial data output pin, each path having a plurality of modes of operation, and

(b) a control shift register connected to the serial data input pin to allow commands to be shifted serially into the control shift register, characterised by

(c) a command register,

(d) means for transferring a command in parallel from the control shift register into the command register, and

(e) means for utilising the contents of the command register to control the modes of operation of the shift paths.

It can be seen that the command register effectively isolates the operation of the shift paths from the control register, allowing them to continue operating in the mode specified by the command register while the control register is being shifted.

One embodiment of the invention will now be described by way of example with reference to the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a VLSI chip.

FIGS. 2-8 are logic diagrams showing various parts of the VLSI chip in detail.

DESCRIPTION OF AN EMBODIMENT OF THE INVENTION

Referring to FIG. 1, this shows a VLSI chip 10, which is connected together with other similar chips (not shown) to form a data processing unit. The unit also includes a diagnostic controller 11 which may be a conventional microcomputer, programmed to perform diagnostic tests on the chips. All the chips 10 receive a clock signal CLK which controls their operations. The diagnostic controller 11, on the other hand, operates at a slower speed, controlled by its own internal clock.

Each chip 10 contains functional logic circuits for providing the required data processing functions. These logic circuits include data storage circuits, comprising a large number of data bit cells, and combinational logic circuits. The exact nature of these logic circuits forms no part of the present invention and so will not be described herein. For example, the combinational logic circuits may include an arithmetic and logic unit, and the data storage circuits may comprise input and output registers for that unit.

For diagnostic purposes, the bit cells are organised into a plurality of groups, referred to herein as user loops 12. The chip shown contains 32 such loops (user loops 0-31). For example, each of these loops may contain up to 128 bit cells, grouped together to form one or more logical registers.

Each user loop has four basic modes of operation, controlled by signals DC1, DC2 as follows:

    ______________________________________                                         DCl       DC2               Mode                                               ______________________________________                                         0         0                 TEST                                               0         1                 SHIFT                                              1         0                 USER                                               1         1                 HOLD                                               ______________________________________                                    

These modes will be described in detail later. For the moment, it should be noted that in the shift mode the bit cells of the loop are all linked together to form a serial shift path between a serial data input SDI and a serial data output SDO.

The chip also includes a register 13 referred to as the control loop. This is used, as will be described, for entering control functions into the chip. The control loop 13 is controlled by a signal CLMC: when CLMC is true, the control loop acts as a shift register allowing data to be shifted serially between an input SDI and an output SDO; when CLMC is false, the shifting action is suppressed and the contol loop acts as a parallel input/output register. The control loop contains eight bits C0-C7 of which C0 acts as a parity bit. The contents of the control loop are checked by a circuit 14 to produce a signal CLPF whenever correct parity is not detected.

The serial data inputs SDI of the control loop 13 and user loops 12 are all connected to a common external pin 15 on the chip. A loop input line LOOPIN from the controller 11 is connected in parallel to the pins 15 on all the chips.

The serial data outputs SDO of the user loops 12 are connected to respective inputs of a 32:1 multiplexer 16, controlled by a loop number code provided by bits C3-C7 of the control loop. The output of multiplexer 16 is fed to one input of a 2:1 multiplexer 17, the other input of which is connected to the serial data output SDO of the control loop 13. The output of the multiplexer 17 is connected to an external pin 18 on the chip by way of an AND gate 19. The pins on all the chips are connected together in a wired -OR configuration, to a loop output line LOOPOUT which is returned to the diagnostic controller 11.

The diagnostic controller 11 produces the following control signals for the chips:

CS (chip select). This is an individual control signal for each chip and is used by the diagnostic controller to select one or more chips.

CON (control). This is common to all the chips, and is used to select the control loop within the selected chip or chips.

TR (transfer). This is common to all the chips, and provides a diagnostic clock signal for shifting the control loop and user loops.

Referring now to FIG. 2, the three control signals CS, CON, and TR are gated into respective bistable latches (flip-flops) 21,22,23 in the chip by the clock signal CLK. This staticises the signals for one clock beat before they are used. The staticised signals are referred to as SCS, SCON and STR.

The TR signal is a pulsed signal, and is synchronised with the clock CLK by means of logic (not shown) external to the chips, so that it can change state only between successive clock pulses. The signals CS and CON on the other hand are asynchronous with respect to the clock CLK. The only requirement is that they must remain steady while STR is active, i.e. they may change level only if STR is false.

The signals SCS,SCON and STR are combined in an AND gate 24 to produce the signal CLMC which controls the mode of operation of the control loop. The control loop is therefore enabled for shifting at each TR pulse provided SCS and SCON are both true, i.e. provided the chip is selected and the control loop is selected.

The diagnostic controller 11 can load a control function into the control loop of any of the chips by means of the following sequence:

(1) Select the required chip by applying a CS signal to it.

(2) Select the control loop by raising the CON signal.

(3) Produce a string of eight TR pulses, so as to shift eight bits into the selected control loop from the loop input line LOOPIN.

The TR pulses need not be produced at consecutive beats of the clock CLK; in general they will be produced at a somewhat slower speed, compatible with the slower operating speed of the diagnostic controller.

The signals SCS and STR are combined in an AND gate 25, the output of which controls a 2-way selection circuit 26. The output of this circuit is fed to the input of a latch 27. When the AND gate 25 is enabled (SCS and STR both true) the circuit 26 selects the signal SCON, allowing it to be clocked into the latch 27 at the next beat of clock CLK. When AND gate 25 is disabled, the circuit 26 selects the output SDCON of the latch 27, causing the current contents of the latch to be fed back to its input, thereby preserving its existing state.

It can be seen that, if both STR and SCS are true, then SDCON represents a version of SCON, delayed by one clock beat.

An AND gate 28 combines the inverse of the output of circuit 26, SDCON, SCS, the inverse of CLPF, and STR, to produce a transfer control pulse TCP. It can be seen that TCP is generated at the first TR pulse following removal of SCON, provided SCS is still true, and provided there is no parity failure in the control loop.

Another AND gate 29 produces a signal TCPF, similar to TCP except that it is not inhibited by the control loop parity failure signal CLPF.

As will be described in more detail later, the transfer control pulse TCP activates the control function which has been loaded into the control loop. The control loop is first loaded with the control function as described above. The CON signal is then removed, and one further TR pulse is produced. Provided SCS is still true, this causes TCP to be generated, so as to activate the control function. If CS is removed before arrival of the further TR pulse, TCP is not generated and the function is not activated. The function can be activated later by restoring CS to the chip and then applying another TR pulse. This allows different control functions to be shifted into different chips, one at a time, and then to be activated simultaneously.

Referring again to FIG. 1, the signal SCON is also used to control the 2:1 multiplexer 17 so as to select the control loop 13 when SCON is true. The signal SCS is also used as an enabling signal for the output AND gate 19 so as to ensure that data can be output from the pin 18 only if the chip is selected.

Referring to FIG. 3, this shows one of the user loops 12 in more detail.

The loop includes a plurality of data bit cells B0-B7 with respective parallel data inputs PD0-PD7 and outputs D0-D7. These inputs and outputs are connected to other functional circuits on the chip according to their intended function in normal operation of the chip. While the loop shown in this Figure contains eight bit cells it will be appreciated that different loops may contain different numbers of cells.

Each loop also contains two test bit cells T1,T2 which produce test control signals TC1,TC2 for controlling the operation of the loop in the test mode, as will be described. The data bit cells B0-B7 and the test bit cells T1,T2 are connected together in series between the serial data input SDI and serial data output SDO, by way of a multiplexer 30. The multiplexer is controlled by a signal FB1: when FB1 is false, it selects the output of T2, and when FB1 is true, it selects the output of another multiplexer 31. The multiplexer 31 is controlled by a signal FB2: when FB2 is true, it selects the output of the last data bit cell B7, and when FB2 is false it selects the output of an exclusive -OR circuit 32. The exclusive -OR circuit combines the outputs of selected data bit cells in the loop: in this case, the outputs of cells B3,B4,B5 and B7.

Referring now to FIG. 4, this shows one of the bit cells Bi (where i=0,1 . . . 7) in detail.

The cell includes a dynamic master-slave type latch 40, clocked by a two phase clock signal CLK0,CLK1 derived from the clock signal CLK. The output of the latch represents the data output Di of the cell. The input of the latch comes from a 2-way multiplexer 41, controlled by a signal HOLD. When HOLD is true, the multiplexer selects the output of the latch, thereby causing the current contents of the latch to be clocked back into it at the next clock pulse: this effectively freezes the contents of the latch in their existing state. When HOLD is false, the multiplexer selects the output of an exclusive -OR gate 42.

The exclusive -OR gate 42 has two inputs connected to the output of NAND gates 43,44. Gate 43 receives the parallel data input bit PCi of the cell, and a control signal IPL. Gate 44 receives a serial data input signal Si and a control signal ISH. The serial input Si comes from the data output Di-1 of the preceding bit cell or, in the case of B0, from the multiplexer 30 (FIG. 3).

The test control bit cells T1,T2 are similar, except that they receive a control signal TCHOLD instead of HOLD, and the gates 42,43,44 are omitted: the input to the multiplexer 41 comes directly from the serial input terminal.

Referring now to FIG. 5, this shows a control circuit for one of the user loops; each user loop has a similar circuit. The control circuit consists of gates 50-55 which respectively produce the control signals HOLD, IPL, TCHOLD, ISH, FB1 and FB2 for associated loop as shown. As described above, each user loop has four basic modes of operation, according to the values of the control signals DC1,DC2 for that loop. The operation of the loop in each of the four modes is as follows.

HOLD mode (DC1=DC2=1). The gate 50 is enabled, providing the HOLD signal. This switches the multiplexer 41 in each data bit cell of the loop so that it selects the output of the latch 40. Thus, the contents of all the bit cells are frozen in their existing states. Similarly, the gate 52 is enabled, producing TCHOLD, which freezes the test control bit cells T1,T2.

USER mode (DC1=1, DC2=0). In this mode, the gate 51 is enabled, producing IPL. This enables the NAND gate 43 in each data bit cell, allowing the parallel data bits PD0-7 to be loaded into the latches at the next clock beat. However, if a load enable control signal LEC is also present, the gate 50 is enabled, and HOLD is produced, freezing the contents of the latches and preventing the loading of the data. The USER mode is the normal operating mode for the user loop, when it is serving its intended function as part of the data processing circuits on the chip.

SHIFT mode (DC1=0,DC2=1). In this mode the gate 53 is enabled, providing ISH. This enables the NAND gate 44 in each data bit cell, allowing data to be shifted between adjacent cells. Also, the TCHOLD signal is removed, allowing data to be shifted between the test control bit cells. Thus, in this mode, the test control and data bit cells are all linked together to form a serial shift path between the serial data input SDI and the serial data output SDO. Data is shifted one step along this path at each clock beat.

TEST mode (DC1=DC2=0). In this mode, gate 53 is enabled, producing ISH, which enables shifting between the data bit cells. Gate 52 is also enabled, producing TCHOLD, so that the test control bit cells are held in their existing states. In this mode, one of four sub-modes is selected according to the values of the test control bits TC1,TC2, as follows:

    ______________________________________                                         TC1      TC2          Sub-mode                                                 ______________________________________                                         0        0            TEST HOLD                                                0        1            TEST ANALYSE                                             1        0            TEST SLIDE                                               1        1            TEST GENERATE                                            ______________________________________                                    

In the test slide sub-mode, the signals FB1 and FB2 are both true, which switches the multiplexers 30,31 so as to feed back the output of the last bit cell B7 to the serial data input SO of the first bit cell BO of the loop. Thus, in this case, the user loop acts as a circular shift register. This can be used to produce sliding test patterns for which the loop is connected.

In the test generate sub-mode, FB1 is true and FB2 is false. This switches the multiplexers 30,31 so as to feed back the output of the exclusive -OR gate 32 to the serial input SO of the first bit cell BO. Thus, in this case the user loop acts as a linear feedback shift register. This can be used to produce sequences of pseudo-random numbers for testing the other circuits on the chip.

In the test analyse sub-mode, FB1 and FB2 have the same values as in the test generate case, and so the loop again acts as a linear feedback shift register. However, in this case, both IPL and ISH are true, so that both NAND gates 43 and 44 are enabled in each bit cell. Hence, in this case, at each clock beat, the parallel data bits PD0-7 are combined with the shifting data in the exclusive -OR gates 42, and loaded into the latches 40. The user loop therefore acts as a digital signature analyser, for combining a sequence of parallel input words to form a number characteristic of that sequence. This can be used for testing the logic circuits which supply the parallel data PD0-7.

In the test hold sub-mode, the gate 50 is enabled, producing HOLD, so that all the data bit cells are held in their existing states.

Referring now to FIG. 6, the operational state of the chip is controlled by a command register 60 on the chip.

This register holds a three-bit command COM 0-2 which defines one of six control states as follows:

    ______________________________________                                         COM 0-2            State                                                       ______________________________________                                         000                SELF TEST                                                   001                SHIFT                                                       010                RUN                                                         011                HOLD                                                        101                RESET                                                       110                RUN N BEATS                                                 ______________________________________                                    

Commands are loaded into the register 60 from a selector circuit 61 which selects one of three inputs according to which of three control signals A, B and C is true. Signal A causes the register 60 to be loaded with a hard-wired pattern 001 representing the SHIFT command. Signal B causes the register 60 to be loaded with a hard-wired 011 representing the HOLD command. Signal C causes the register 60 to be loaded with a command specified by bits C5-C7 of the control loop 13. Loading of the command register is enabled by a control signal LDCM which is the OR-function of A, B and C.

The control signal B is produced by an OR gate 62 which receives the following inputs:

CLPF.TCPF: this is the AND function of CLPF, which indicates the presence of a parity failure in the control loop, and TCPF (i.e. the version of TCP which is not inhibited by CLPF).

HELP: this indicates the presence of a parity failure elsewhere on the chip.

CFH: this is produced by a decoder 63 when it detects that a counter 64 has counted down to zero.

Thus, it can be seen that if there is a parity failure in the control loop or elsewhere on the chip the signal B is produced, and causes the command register to be loaded with the HOLD command.

The control signals A and C are produced by AND gates 65,66 which receive function control signals FD0 and FD3 respectively. Both of these AND gates are controlled by the transfer control pulse TCP, and both are inhibited if B is true. Thus, it can be seen that the control signal B has priority over the signals A and C, which means that the corresponding input is selected in preference to the other two.

Referring now to FIG. 7, the contents COM 0-2 of the command register 60 are decoded in a decoder 70 to produce signals SHIFT, RESET and SELF TEST whenever the corresponding commands are present. The SHIFT and RESET signals are fed to respective AND gates 71,72. These gates are both controlled by the output of a further AND gate 73 which combines the signals STR, SCS, and the inverses of SCON and TCP.

The output of the AND gate 71 is a signal CGS which is applied to the enable input of a decoder 74. This decodes the loop number code supplied by bits C3-C7 of the control loop 13, to produce a signal on one of 32 outputs. This enables one of 32 OR gates 75, to produce one of 32 loop select signals SL0-SL31. The output of the AND gate 64 is a signal CGR which is applied to all the OR gates 75, so as to produce all the loop select signals SL0-SL31 simultaneously.

The signals SL0-SL31 are applied to a set of 32 NOR gates 76, along with the SELF TEST signal from the decoder 70. The outputs of these NOR gates provide the control signals DC1 for the respective user loops. The control signals DC2 for the user loops are supplied by the bit COM2 of the command register. (Thus, it should be noted that each user loop receives a separate DC1 signal, but they all receive the same DC2 signal).

The operation of the chip in each of the six command states can now be described.

RUN (command 010). In this state, both CGS and CGR are false, and so the loop select signals SL0-SL31 are all false. Thus, the outputs of the NOR gates 76 are all true. Also, COM2=0. Thus, it can be seen that, for each user loop, DC1=1 and DC2=0; that is, each user loop is put into the USER mode. This is the normal operating state of the chip.

HOLD (command 011). In this state, both CGS and CGR are false, and COM2=1, so that DC1=DC2=1 for each user loop. Thus, all the user loops are put into the HOLD mode.

SHIFT (command 001). If SCS is true, SCON false, and TCP false, the AND gate 73 will be enabled at each TR pulse. Thus, if the chip is selected and the control loop not selected, the signal CGS will be produced at each TR pulse, other than the one which produces TCP. When CGS is true, it enables the decoder 74, so as to produce one of the loop select signals SL0-31 according to the value of the loop number C3-C7. This puts the selected loop into the SHIFT mode with DC1=0 and DC2=1. When the TR pulse is not present, the select loop reverts to the HOLD mode, with DC1=DC2=1. All the other, non-selected loops remain in the HOLD mode. Thus, it can be seen that the selected user loop is shifted by one place at each TR pulse.

RESET (command 101). This is similar to the SHIFT state, except that, in this case, CGR rather than CGS is produced at each TR pulse. Thus, all the loops are put into the SHIFT mode at each TR pulse. This allows a constant value (e.g. zero) to be shifted into all the loops in parallel from the loop input path LOOPIN, so as to reset them.

RUN N BEATS (command 110). This has a similar effect to the RUN state, except that in this state the counter 64 (FIG. 6) is activated and counts a preset number N. When the counter finishes counting, it causes the control signal B to be produced. This loads the hardwired command 011 into the command register 60, thereby putting the chip into the HOLD state. This provides a useful facility for diagnostic testing of the chip.

SELF TEST (command 000). In this state, the SELF TEST signal from the decoder 70 forces the outputs of all the NOR gates 76 to zero. Thus, all the user loops are put into the test mode, with DC1=DC2=0. Each loop therefore adopts one of the four test sub-modes, according to the values of the test control bits TC1,TC2 for that particular loop. These bits will have been preset at suitable values, by loading the test bit control cells T1,T2 using the SHIFT state. For example, if it is desired to test a particular block of logic on the chip, those loops which act as inputs to the logic block would be put into their TEST GENERATE sub-modes to generate test patterns for that logic. Those loops which receive outputs from the logic block would be put into their TEST ANALYSE sub-modes, so as to form digital signatures from those outputs. Other loops may be put into the TEST HOLD sub-mode.

Referring now to FIG. 8, this again shows the control loop 13. As described above, the diagnostic controller can load a control function into the control loop by first raising the signals CS and CON and then producing a series of eight TR pulses. The CON signal is then removed and one further TR pulse produced, and this generates the transfer control pulse TCP. This activates the control function as will now be described.

Bits C1-C7 of the control loop are decoded in a decoder 81 to produce one of eleven function signals FD0-FD10 representing eleven possible control functions. Of these, only four, FD0,3,7 and 10, will be described herein; description of the other functions is not necessary for an understanding of the invention. The bit patterns which produce these four function signals are as follows:

    ______________________________________                                         Function   Cl      C2    C3    C4  C5    C6  C7                                ______________________________________                                         FDO        0       --    --    --  --    --  --                                FD3        1       1     0     --  --    --  --                                FD7        1       1     1     1   1     0   0                                 FD10       1       1     1     1   1     1   1                                 ______________________________________                                    

As described above FD0 is combined in the AND gate 65 (FIG. 6) with the transfer control pulse TCP to produce the control signal A for the selection circuit 61 (FIG. 6). This causes the hardwired code 001 to be loaded into the command register 60, so as to set the chip into the SHIFT state. In this state, bits C3-C7 of the control loop are used as a loop number code, to select the loop it is desired to shift, as described above.

FD3 is combined in the AND gate 66 with TCP to produce the control signal C for the selection circuit 61. This causes bits C5-C7 of the control loop to be loaded into the command register 60. Thus, the FD3 function can be used to set the chip into any desired state, as specified by the bits C5-C7.

FD7 and FD10 are combined in an OR gate 84, the output of which is combined with TCP in an AND gate 85 to produce a signal LDCL. This causes the control loop 13 to be loaded in parallel from a 4:1 multiplexer 86, controlled by bits C6 and C7 of the control loop. In the case of the FD7 function, both C6 and C7 are zero and hence the multiplexer selects input 0. This is connected to the output of the command register 60. In the case of the FD10 function, C6=C7=1 and hence the multiplexer 86 selects input 3. This is connected to the output of a 5-bit status register 87 which holds information about the current operational status of the chip. The other two inputs to the multiplexer 76 are not relevant to the present invention.

Thus, it can be seen that the FD7 function causes the control loop 13 to be loaded with the current contents of the command register: these are placed into bits C5-C7, overwriting the previous contents. The contents of the control loop can then be shifted out serially over the loop output line LOOPOUT to the diagnostic controller. This function provides a convenient way for the diagnostic controller to read out the contents of the command register to ensure that it is operating correctly.

Similarly, the FD10 function causes the status register 87 to be loaded into the control loop: it is put into bits C3-C7 overwriting the existing contents. This provides a convenient way of examining the status of the chip. 

What is claimed is:
 1. A digital integrated circuit comprising:(a) a plurality of shift register latches connected together to form a plurality of serial shift paths in parallel between a serial data input terminal and a serial data output terminal, each path having a plurality of modes of operation, (b) a control shift register connected to the serial data input terminal to allow commands to be shifted serially into the control shift register, (c) a command register, (d) means for transferring a command in parallel from the control shift register into the command register, and (e) means for utilizing the contents of the command register to control the modes of operation of the shift paths.
 2. An integrated circuit according to claim 1 including a parity checking circuit for checking the contents of the control shift register to produce a parity fail signal if a parity error is detected.
 3. An integrated circuit according to claim 2, including means responsive to the parity fail signal for inhibiting transfer of a command from the control shift register into the command register.
 4. A digital integrated circuit comprising:(a) plurality of shift register latches connected together to form a plurality of serial shift data paths in parallel between a serial data input terminal and a serial data output terminal, each path having a plurality of modes of operation, (a) a control shift register connected to the serial data input terminal to allow commands be shifted serially into the control shift register, (c) a command register, (d) transfer means for transferring a command in parallel from the control shift register into the command register, (e) means for utilising the contents of the command register to control the modes of operation of the shift paths, (f) means for receiving a series of transfer pulse signals and a control select signal, (g) means for enabling the control shift register for shifting upon occurrence of each said transfer pulse signal while said control select signal is present, and (h) means for detecting a first of said transfer pulse signals following removal of said control select signal to produce a transfer control signal which enables said transfer means to transfer a command into the command register.
 5. An integrated circuit according to claim 4 including means for decoding the contents of the control shift register to produce a plurality of function control signals, and means responsive to one of these control signals for causing a command to be loaded into the command register from the control shift register upon occurrence of said transfer control signal.
 6. An integrated circuit according to claim 5 including means responsive to another of said function control signals for causing the command register to be loaded with a hard-wired SHIFT command, means responsive to said SHIFT command when in the command register for decoding an address held in the control shift register, and means responsive to said decoding means for selecting one of the shift paths for shifting.
 7. An integrated circuit according to claim 5 including means responsive to another of said function control signals for causing the contents of the command register to be loaded into the control shift register.
 8. A digital integrated circuit comprising:(a) a plurality of shift register latches connected together to form a plurality of serial shift data paths in parallel between a serial data input terminal and a serial data output terminal, each path having a plurality of modes of operation, (b) a control shift register connected to the serial data input terminal to allow commands to be shifted serially into the control shift register, (c) a command register, (d) transfer means for transferring a command in parallel from the control shift register into the command register, (e) means for utilising the contents of the command register to control the modes of operation of the shift paths, (f) a parity checking circuit for checking the contents of the control shift register to produce a parity fail signal if a parity error is detected, (g) means responsive to the parity fail signal for inhibiting transfer of a command from the control shift register into the command register, (h) means responsive to the parity fail signal for causing a hard-wired HOLD command to be loaded into the command register, and (i) means responsive to the hold command when in the command register for putting all the serial shift paths into a HOLD mode in which they are frozen in their existing states.
 9. An integrated circuit according to claim 8 including a counter, means responsive to a RUN N BEATS command in the command register for activating the counter to run for a predetermined period of time and then to produce a count finished signal, and means responsive to said count finished signal for causing said hard-wired HOLD command to be loaded into the command register. 